package evaluation;

import course.AbstractCourseType;


/**
 * 
 *
 */
public class CourseTypeEvaluation extends Evaluation {
	
	/**
	 * Course Type
	 */
	private AbstractCourseType course;
	
	/**
	 * 
	 * @param _course
	 * @param _points
	 */
	public CourseTypeEvaluation(AbstractCourseType _course, int _points){
		this.course = _course;
		setPoints(_points);
	}
	
	public String getGrade(){
		return course.getGrade(getPoints());
	}
	
	/**
	 * Returns the CourseType for further Access
	 * @return
	 */
	public AbstractCourseType getCourseType(){
		return course;
	}
}
